Update parabricks minimap2 for scnanoseq#10788
Open
gburnett-nvidia wants to merge 7 commits intonf-core:masterfrom
Open
Update parabricks minimap2 for scnanoseq#10788gburnett-nvidia wants to merge 7 commits intonf-core:masterfrom
gburnett-nvidia wants to merge 7 commits intonf-core:masterfrom
Conversation
…es in old pipelines
SPPearce
reviewed
Mar 18, 2026
| tuple val(meta), path("*.cram"), emit: cram, optional: true | ||
| tuple val(meta), path("*.crai"), emit: crai, optional: true | ||
| tuple val(meta), path("*.{bam,cram}"), emit: bam, optional: true | ||
| tuple val(meta), path("*.{bai,crai}"), emit: index, optional: true |
Contributor
There was a problem hiding this comment.
Suggested change
| tuple val(meta), path("*.{bai,crai}"), emit: index, optional: true | |
| tuple val(meta), path("*.{bai,csi,crai}"), emit: index, optional: true |
| description: index corresponding to sorted CRAM file | ||
| pattern: "*.crai" | ||
| description: Index corresponding to sorted BAM or CRAM file | ||
| pattern: "*.{bai,crai}" |
Contributor
There was a problem hiding this comment.
Suggested change
| pattern: "*.{bai,crai}" | |
| pattern: "*.{bai,csi,crai}" |
| pattern: "*.crai" | ||
| description: Index corresponding to sorted BAM or CRAM file | ||
| pattern: "*.{bai,crai}" | ||
| ontologies: [] |
Contributor
There was a problem hiding this comment.
This should have some ontologies, as should several of the others.
Comment on lines
+79
to
+80
| compatible_with: | ||
| \$(echo "\$pbrun_version_output" | tr '\\t' ' ' | awk -F':' '/Compatible With:/,/^---/ { if (\$0 !~ /Compatible With:/ && \$0 !~ /^---\$/ && index(\$0,":")>0) { key=\$1; val=\$2; gsub(/^[ ]+|[ ]+\$/, "", key); gsub(/^[ ]+|[ ]+\$/, "", val); printf " %s: %s\\n", key, val } }') |
Contributor
There was a problem hiding this comment.
What is this really really long expression doing?
Contributor
There was a problem hiding this comment.
This extracts the compatible version of the non-gpu tool so that you can directly see that in the snapshot. There is no reason to have this as a topic because this is specific for parabricks modules.
Comment on lines
+73
to
+76
| # We handle this different to the other modules because minimap does not begin with an Uppercase letter | ||
|
|
||
| # Generate compatible_versions.yml | ||
| cat <<EOF > compatible_versions.yml |
Contributor
There was a problem hiding this comment.
Can you swap to a topic channel please, which may make this unnecessary.
| ${args} | ||
|
|
||
| # Capture the full version output once and store it in a variable | ||
| pbrun_version_output=\$(pbrun minimap2 --version 2>&1) |
Contributor
There was a problem hiding this comment.
Why? Does the tool take a long time to give the version information?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR checklist
Closes #XXX
topic: versions- See version_topicslabelnf-core modules test <MODULE> --profile dockernf-core modules test <MODULE> --profile singularitynf-core modules test <MODULE> --profile condanf-core subworkflows test <SUBWORKFLOW> --profile dockernf-core subworkflows test <SUBWORKFLOW> --profile singularitynf-core subworkflows test <SUBWORKFLOW> --profile conda